package io.renren.modules.substation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.substation.entity.TInfoUserAreaEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户区域权限表
 *
 * @author lan
 * @email sunlightcs@gmail.com
 * @date 2020-06-20 17:05:11
 */
public interface TInfoUserAreaService extends IService<TInfoUserAreaEntity> {

    PageUtils queryPage(Map<String, Object> params);

    public void saveUserArea(Long userId, List<Long> userAreaList, Long createId);

    public int deleteBatch(Long[] userIds);

    List<TInfoUserAreaEntity> listByUserId(Long id);
}

